package com.hxzy.shop.commodity.dto.resp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description
 * @Author tu-jia-hao
 * @Data 2022/7/27 16:31
 */
@Data
@ContentRowHeight(40)
@HeadRowHeight(45)
public class DrugImportExcelResp implements Serializable {

    @ApiModelProperty("药品名")
    @ExcelProperty(value = "商品名称(必填)", index = 0)
    @ColumnWidth(35)
    private String drugName;

    /**
     * 药品通用名称
     * */
    @ApiModelProperty("药品通用名称")
    @ExcelProperty(value = "药品通用名称", index = 1)
    @ColumnWidth(35)
    private String drugGenericNames;


    @ApiModelProperty("商品条形码")
    @ExcelProperty(value = "商品条形码(必填)", index = 2)
    @ColumnWidth(35)
    private String barCode;

    @ApiModelProperty("商品编码")
    @ExcelProperty(value = "商品编码", index = 3)
    @ColumnWidth(35)
    private String drugCode;

    @ApiModelProperty("规格")
    @ExcelProperty(value = "规格(必填)", index = 4)
    @ColumnWidth(35)
    private String specifications;

    @ExcelProperty(value = "单位(必填)", index = 5)
    @ColumnWidth(35)
    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("剂型")
    @ExcelProperty(value = "剂型(必填)", index = 6)
    @ColumnWidth(35)
    private String dosageForm;

    @ApiModelProperty("生产厂家")
    @ExcelProperty(value = "生产厂家(必填)", index = 7)
    @ColumnWidth(35)
    private String manufacturer;

    @ApiModelProperty("批准文号")
    @ExcelProperty(value = "批准文号(必填)", index = 8)
    @ColumnWidth(35)
    private String approvalNumber;

    @ApiModelProperty("是否是处方药")
    @ExcelProperty(value = "是否处方药(必填)\n" +
            "(1:处方药;0:非处方药)", index = 9)
    @ColumnWidth(35)
    private String prescriptionDrug;

    @ApiModelProperty("一级分类")
    @ExcelProperty(value = "一级分类(必填)", index = 10)
    @ColumnWidth(35)
    private String stairClassifiedName;


    @ApiModelProperty("二级分类")
    @ExcelProperty(value = "二级分类(必填)", index = 11)
    @ColumnWidth(35)
    private String secondLevelClassifiedName;

    @ApiModelProperty("成本价")
    @ExcelProperty(value = "成本价", index = 12)
    @ColumnWidth(35)
    private String costPrice;

    @ApiModelProperty("统一售价")
    @ExcelProperty(value = "统一售价(必填)", index = 13)
    @ColumnWidth(35)
    private String uniformRetailPrice;

    @ApiModelProperty("错误提示")
    @ExcelProperty(value = "错误提示", index = 14)
    @ColumnWidth(25)
    private String errMessage;


    @ApiModelProperty("父分类id")
    private String stairClassifiedId;
    @ApiModelProperty("字分类id")
    private String secondLevelClassifiedId;
    @ApiModelProperty("商户id")
    private String merchantId;


}
